//
//  BLHeader.h
//  beautyLamp
//
//  Created by Tam Kwok To Michael on 2017/8/8.
//  Copyright © 2017年 Tam Kwok To Michael. All rights reserved.
//

#ifndef BLHeader_h
#define BLHeader_h

#define isFirst @"isFirst"
#define PASSWORD @"password"
#define Logined @"logined"
#define ReuseIdentify @"reuse"
#define USERPWD @"passWord"
#define USERSIGN @"signature"
#define USERCLASS @"userClass"
#define USERIMG @"userImg"
#define USERNAME @"userName"
#define USERNUM @"userNum"
#define USERPAY @"userPay"
#define USERSEX @"userSex"
#define USERTEL @"userTel"
#define USERADDR @"userAddr"
#define USERQRCODE @"userQRCode"
#define LOGINWAY @"loginWay" // 1.微信 2.qq 3.微博
#define WECHATE_OPENID @"wechat_openid"

#define HEIGHT_STATUSBAR	20
#define HEIGHT_TABBAR       49
#define HEIGHT_NAVBAR       44



#define THEMECOLOR [UIColor colorWithRed:253/255.0f green:148/255.0f blue:37/255.0f alpha:1]
#define kAppThemeColor [UIColor colorWithRed:253.0/255 green:148.0/255 blue:37.0/255 alpha:1.0]

#define     DEFAULT_SEARCHBAR_COLOR          WBColor(239.0, 239.0, 244.0, 1.0)
#define WBColor(r, g, b, a) [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:a]

#define RGB(r, g, b) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1.0]


#pragma mark ------微信配置信息--------
#define WX_APP_ID @"wx659257a72c5bb0e3"
//#define WX_APP_SECRET @"3e9677dd38f57874cca87a0670f9c1f8"
#define WX_PREFIX @"wx659257a72c5bb0e3://oauth?"
#define WX_PAY_PREFIX @"wx659257a72c5bb0e3://pay/?"
#define WX_PARTNER_ID @"1491319622"


#define QQ_APP_ID @"101425694"
#define QQ_PREFIX @"tencent101425694://qzapp/mqzone/0?generalpastboard=1"

#define WB_APP_KEY @"3116187518"
#define WB_PRIFIX @"wb3116187518://response?"

#define JPUSH_APP_KEY @"5944ad24381e10b721f3e386"
#define JPUSH_CHANNEL @"Publish channel"

//#define ALIPAY_APP_ID @"2017100909206134"
//#define ALIPAY_APP_ID @"2016081500252974"
#define ALIPAY_APP_ID @"2017101009228231"

#define KScreenWidth [UIScreen mainScreen].bounds.size.width
#define KScreenHeight [UIScreen mainScreen].bounds.size.height

#define http @"http://"
#define ADDRESS @"/app/view/"
#define ADDRESSP @"/app/order/"
#define ADDREPAY @"/app/pay/"

// 测试地址
#define testPort @"192.168.1.105:8080"
#define testURL http testPort ADDRESS

//测试
//#define URL http testPort address

// 正式地址
#define port @"39.108.68.191:8080"

//正式
#define URL http port ADDRESS
#define URLP http port ADDRESSP
#define URLPAY http port ADDREPAY
//url

//密码登录
#define LoginURL URL @"phoneLogin"
//验证码登录
#define MSGLogin URL @"MsgLogin"
//微信登录
#define WECHATLOGIN URL @"weChatLogin"
//QQ登录
#define QQLOGIN URL @"qqLogin"
//微博登录
#define WEIBOLOGIN URL @"weiboLogin"
//注册
#define RegisterURL URL @"phoneRegist"
// 获取验证码
//注册验证码 1，2，3
#define CodeURL URL @"msg"
// 登录验证码
#define LoginCodeURL URL @"getLoginMsg"
// 重置密码验证码
#define ResetPWDCodeURl URL @"missMsg"

// 重置密码
#define ResetPwdURL URL @"passWordReset"

//修改昵称
#define UPDATEUSERINFO URL @"userUpt"
//上传图片
#define UPLOADIMAGE URL @"uploadImg"

// 修改地址
#define UPDATEADDRESS URL @"addrUpt"

// 删除地址
#define DELETEADDRESS URL @"addrDelete"

// 添加地址
#define ADDNEWADDRESS URL @"addrAdd"

// 查询地址
#define SELECTADDRESS URL @"addrSelect"

// 查询销售
#define SELECTSALE URL @"saleSelect"

// 查询店主
#define SELECTSTORE URL @"userSelect"

// 添加时生成二维码
#define CREATE2CODE URL @"qrCodeCreate"

//查询店主下的销售
#define SELECTSALELIST URL @"friendsSaleSel"

//查询销售下的店主：
#define SELECTSTORELIST URL @"friendsUserSel"

//销售下订单
#define  SALEPLACEORDER URLP @"orderAdd"

//店主/ 销售扫一扫 确认添加好友
#define SCANADDPARTNER URL @"friendsAdd"

#define FIRSTWECHATLOGIN URL @"weixinTelAdd"

// 微信 微信绑定手机号短信验证：
#define FIRSTWECHATLOGINCODE URL @"wechatMsg"
#define FIRSTWECHATLOGINADDINFO URL @"weixinTelAdd"

// qq绑定手机号短信验证
#define FIRSTQQLOGINCODE URL @"qqLoginMsg"
#define FIRSTQQLOGINADDINFO URL @"qqTelAdd"

// 我的订单
#define ORDER_LIST URLP @"myOrder"

//微博绑定手机号短信验证
#define FIRSTWEIBOLOGINCODE URL @"weiboLoginMsg"
#define FIRSTWEIBOLOGINADDINFO URL @"weiboTelAdd"

//顾客 我的二维码
#define CUSTOMERQRCODE URL @"customQrCode"

//首页的照片
#define HOMEIMAGELIST URLP @"productShow"
//建议
#define SUGGESTION URL @"feedBack"

//创建支付订单
#define PAYORDER URLPAY @"orderInfo"

// 根据订单号，查询订单
#define ORDERDETAILBYORDERCODE URLP @"orderSelect"

// 修改订单
#define UPDATEORDER URLP @"orderUpt"

// 我的收益
#define MYPROFIT URL  @"userMoney"

// 微信支付
#define WECHATPAY @"http://39.108.68.191:8080/app/WeiXinPay/prepay"

// 提现
#define DRAWMONEY @"http://39.108.68.191:8080/app/pay/transfer"

// 提现记录
#define DRAWMONEYRECODER @"http://39.108.68.191:8080/app/view/userMoneyLog"

// 收益记录
#define PROFITMONEYRECODER @"http://39.108.68.191:8080/app/view/earnMoneyLog"




//添加地址的通知
#define ADDADDRESSNOTIFICATION @"addaddress"
#define UPDATEADDRESSNOTIFICATION @"updateaddress"
#define DELETEADDRESSNOTIFICATION @"deleteaddress"
#define ADDPARTNERNOTIFICATION @"addpartner"
#define UPDATEUISERINFONOTIFICATION @"upateUser"
#define UPDATETABTITLE @"updateTabTitle"


#endif /* BLHeader_h */


